package com.zyy.ui.policy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @ClassName: BaseInfoDTO
 * @Description: 基本信息
 * @Author: zyy
 * @Date: 2020/05/03 00:28
 * @Version: 1.0
 */
@ApiModel("基本信息")
@Data
public class BaseInfoDTO {
    @ApiModelProperty(value = "产品编码")
    @NotBlank(message = "productCode不可为空")
    private String productCode;
    @ApiModelProperty(value = "保费")
    private Double premium;
    @ApiModelProperty(value = "保额")
    private Double amount;
    @ApiModelProperty(value = "保险起期")
    private LocalDateTime insuranceStartDate;
    @ApiModelProperty(value = "保险止期")
    private LocalDateTime insuranceEndDate;
}
